package com.jzmy.cultivate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.plugins.Page;
import com.jzmy.cultivate.entity.Courses;
import com.jzmy.cultivate.entity.vo.CoursesAndTeacherVo;
import com.jzmy.cultivate.entity.vo.CoursesListVo;

import java.util.Map;

/**
 * @author mengzhichao
 * @create 2022-08-25-11:32
 */
public interface CoursesService extends IService<Courses> {

    //列表查询接口
    Page<CoursesListVo> selectListPage(int current, int number, Map map);

    //详情查询接口
    CoursesAndTeacherVo selCourseDetail(Long id);
}
